<template>
  <view>
    <back :showBackText="false" customClass="bg-gradual-blue text-white" title="授权登录"></back>
    <view class="sso-auth-container">
      <view class="sso-auth-header">
        <view class="sso-auth-icon">
          <text class="cuIcon-time text-blue" style="font-size:80rpx;"></text>
        </view>
        <view class="sso-auth-title">授权登录网页端</view>
        <view class="sso-auth-desc">若非本人操作，请忽略申请</view>
      </view>
      <view class="sso-auth-btns">
        <button class="cu-btn bg-blue shadow radius lg sso-auth-confirm" @tap="confirmTap">确认登录</button>
        <button class="cu-btn line-blue radius lg sso-auth-cancel" @tap="cancelTap">取消</button>
      </view>
    </view>
  </view>
</template>

<script src="./sso.js"></script>

<style scoped>
.sso-auth-container {
  min-height: 100vh;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 120rpx;
}
.sso-auth-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 80rpx;
}
.sso-auth-icon {
  width: 120rpx;
  height: 120rpx;
  border-radius: 60rpx;
  border: 6rpx solid #3c8cff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32rpx;
}
.sso-auth-title {
  font-size: 36rpx;
  font-weight: bold;
  color: #222;
  margin-bottom: 16rpx;
}
.sso-auth-desc {
  font-size: 24rpx;
  color: #b0b0b0;
}
.sso-auth-btns {
  width: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.sso-auth-confirm {
  width: 100%;
  margin-bottom: 32rpx;
  font-size: 32rpx;
}
.sso-auth-cancel {
  width: 100%;
  color: #3c8cff;
  background: #fff;
  border: 2rpx solid #3c8cff;
  font-size: 32rpx;
}
</style>